package mr.zhang.pojo.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TCustomerPayment entity. @author MyEclipse Persistence Tools
 */

public class TCustomerPayment implements java.io.Serializable {

	// Fields

	private Integer id;
	//客户回款次数
	private TCustomerPaymentNumber TCustomerPaymentNumber;
	
	//客户回款名称
	private String customerPaymentName;
	private Set TCustomerStates = new HashSet(0);

	// Constructors

	/** default constructor */
	public TCustomerPayment() {
	}

	/** full constructor */
	public TCustomerPayment(TCustomerPaymentNumber TCustomerPaymentNumber,
			String customerPaymentName, Set TCustomerStates) {
		this.TCustomerPaymentNumber = TCustomerPaymentNumber;
		this.customerPaymentName = customerPaymentName;
		this.TCustomerStates = TCustomerStates;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TCustomerPaymentNumber getTCustomerPaymentNumber() {
		return this.TCustomerPaymentNumber;
	}

	public void setTCustomerPaymentNumber(
			TCustomerPaymentNumber TCustomerPaymentNumber) {
		this.TCustomerPaymentNumber = TCustomerPaymentNumber;
	}

	public String getCustomerPaymentName() {
		return this.customerPaymentName;
	}

	public void setCustomerPaymentName(String customerPaymentName) {
		this.customerPaymentName = customerPaymentName;
	}

	public Set getTCustomerStates() {
		return this.TCustomerStates;
	}

	public void setTCustomerStates(Set TCustomerStates) {
		this.TCustomerStates = TCustomerStates;
	}

}